package com.tusuo.stds.rest;

import org.parceler.Parcel;

import java.util.List;

/**
 * @author J.Huang
 * @version 1.0
 *
 */

public class ModuleList extends ApiResult {
    public int Total;
    public List<Module> Data;

    @Parcel
    public static class Module {
        public static final String EXTRA_NAME = Module.class.getName();

        public int Id;
        public String Title;
        public String Description;
        public int FinishCount;
        public int TotalCount;
        public int LockStatus;
        public int CompleteType;

        @Override
        public String toString() {
            return "Module{" +
                    "Id=" + Id +
                    ", Title='" + Title + '\'' +
                    ", Description='" + Description + '\'' +
                    ", FinishCount=" + FinishCount +
                    ", TotalCount=" + TotalCount +
                    ", LockStatus=" + LockStatus +
                    ", CompleteType=" + CompleteType +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SchoolList{" +
                "Total=" + Total +
                ", Data=" + Data +
                '}';
    }
}
